package com.jkgh.remedium.rsgen.vo;

import java.util.ArrayList;
import java.util.List;

public class DataObject {

	private final String className;
	private final String description;
	private final List<FieldInfo> fields;

	public DataObject(String className, String description) {

		this.className = className;
		this.description = description;
		this.fields = new ArrayList<FieldInfo>();
	}

	public void addField(FieldInfo m) {

		fields.add(m);
	}

	public List<FieldInfo> getFields() {

		return fields;
	}

	public String getClassName() {

		return className;
	}

	public String getDescription() {

		return description;
	}

}
